
<ui:composition
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:easy="http://easy.widgets.com"
    template="/basic.xhtml">


    <ui:define  name="body">
        <h:outputText value="Teste"/>
        <h:inputText value="Teste" />

    <rich:simpleTogglePanel switchType="client" label="Add AJAX capability to existing JSF applications">
        The framework is implemented by using a component library. The library
        set Ajax functionality into existing pages, so there is no need to write
        any JavaScript code or to replace existing components with new Ajax one.
        Ajax4jsf enables page-wide Ajax support instead of the traditional
        component-wide support and it gives the opportunity to define the event
        on the page. An event invokes an Ajax request and areas of the page
        which are synchronized with the JSF Component Tree after changing the
        data on the server by Ajax request in accordance with events fired on
        the client.
        
    </rich:simpleTogglePanel>   
    </ui:define >    
    
</ui:composition>
